﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="common/taglibs.jsp" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>项目信息</title>
    <link href="${contextPath}/acss/share.css" rel="stylesheet" />
    <link href="${contextPath}/acss/programinfo.css" rel="stylesheet" />
    <link href="${contextPath}/acss/index.css" rel="stylesheet" />
    <link href="${contextPath}/acss/hyzx.css" rel="stylesheet" />
    <link href="${contextPath}/acss/common.css" rel="stylesheet" />
    <script src="${contextPath}/js/jquery-1.2.6.pack.js"></script>
    <script src="${contextPath}/js/scrollheatshare.js"></script>
    <script src="${contextPath}/js/share.js"></script>

</head>

<body>
	<%@include file="common/header.jsp" %>
    <div class="container">
        <div class="navlevel">
            <span class="firstlevel">行业咨询 ></span>
            <span class="nextlevel">中标快讯</span>

        </div>
        
        <div class="part_left">
        <c:forEach items="${pager.data }" var="item">
          	<div class="Trademoving">
                <div class="messlist">
                    <label class="toptitle"><a href="Movingcontent.html" target="_blank">${item.bidName }</a></label>
                    <label class="toptitiledate" style="float: right"><fmt:formatDate value="${item.bidPublishtime }" pattern="yyyy-MM-dd"/></label>
                </div>
                <table class="detailmess">
                    <tr>
                        <td>招标地区：${item.bidArea }</td>
                        <td>项目甲方：${item.bidPurchaser }</td>
                        <td>代理机构：${item.bidAgent }</td>
                    </tr>
                    <tr>
                        <td>招标编号：${item.bidCode }</td>
                        <td>羡慕预算：未公开</td>
                        <td>投标截止时间：${item.bidCuttime }</td>
                    </tr>
                    <tr>
                        <td colspan ="3">${item.bidDesc }</td>

                    </tr>
                </table>
           	</div>
           
        </c:forEach>
        </div>
        
        <div class="part_right">
            <!--区块（热门标签）-->
            <div id="heatfixdiv" style="">
                <div class="share">
                    <a class="sina"></a>
                    <a class="tenxunwb"></a>
                    <a class="weixin"></a>
                    <a class="youxiang"></a>
                    <a class="qq"></a>
                    <a class="rss"></a>
                </div>
                <div class="bid_mess" style="margin-top: 10px; height: 200px; z-index: 999;">
                    <div class="bidtop">
                        <div class="bidtitle">
                            <span>热门标签</span>
                        </div>

                    </div>
                    <div class="bidlist" style="text-align: center; padding: 5px; width: auto; margin-top: 15px; height: 140px!important;">

                        <mytag:hottag></mytag:hottag>
                    </div>
                </div>
            </div>
            <!--区块（行业动态）-->
            <div class="bid_mess" style="height: 430px; position: absolute; margin-top: 320px;">
                <div class="bidtop">
                    <div class="bidtitle">
                        <span>行业动态</span>
                    </div>

                </div>
                <div class="bidlist" style="width: 430px; padding-top: 15px;">
                	<c:forEach items="${infoList.data }" var="item" begin="0" end="1">
                    <div class="Trademoving" style="height: 90px !important; margin-left: 10px;">
                        <div class="imageinfo" style="width: 140px; height: 90px;">
                            <img src="${contextPath }/info/detail.htm?id=${item.infoId}" width="140" height="90" />
                        </div>
                        <div class="stxtmess">

                            <span class="usertype">${my:getInfoTypeName(item.infoType) }</span>
                            <strong>${my:shortText(item.infoTitle,20) }</strong><br>
                            <div class="fontlabel">
                                <label>
                                    ${my:shortText(item.infoAbstract,29) }</label>
                            </div>
                        </div>
                        <div class="spanmess" style="width: 270px;">
                            <label>${item.infoTag }</label>
                        </div>
                    </div>
                    </c:forEach>
                    <ul>
                    	<c:forEach items="${infoList.data }" var="item" begin="3" end="8">
                        <li>${item.infoTitle }</li>
                        </c:forEach>
                    </ul>
                </div>
            </div>
            <!--区块（解决方案）-->
            <div class="bid_mess" style="margin-top: 770px; height: 355px; position: absolute">
                <div class="bidtop">
                    <div class="bidtitle">
                        <span>解决方案</span>
                    </div>

                </div>
                <div class="bidlist" style="margin-top: 15px; padding-left: 15px; width: 430px;">

					<c:forEach items="${ projectInfoList.data}" var="item" begin="0" end="2">
                    <div class="Trademoving" style="height: 90px">
                        <div class="imageinfo" style="width: 140px; height: 90px;">
                            <img src="${contextPath }/${item.projLogopath}" width="140" height="90" />
                        </div>
                        <div class="stxtmess">

                            <span class="usertype">${my:getProjTypeName(item.projType) }</span>
                            <strong><a>${item.projTitle }</a></strong><br>
                            <div class="fontlabel">
                                <label>
                                    ${item.projAbstract }</label>
                            </div>
                        </div>
                        <div class="spanmess" style="width: 270px;">

                            <label>${item.projTag }</label>
                        </div>

                    </div>
					</c:forEach>
                </div>
            </div>

    </div>
	<c:if test="${ projectInfoList.totalPages > 1}">
	<mytag:loadmore container=".part_left" msgname="" url="${contextPath }/bid/loadajax.htm" params="${my:toJson(params) }" totalpage="${projectInfoList.totalPages }"></mytag:loadmore>
	</c:if>
    
	<%@include file="common/footer.jsp" %>
     <script>
        
        	var bidInfo = {
        			currentPage:2,
        			appendone:function(item){
        				this.list.push(item);
        			},
        			list:new Array(),
        			render:function(){
        				var $html = "";
        				for(var item in this.list){
        					if(item.bidType == 2){
	        					$html += "<div class=\"Trademoving\"><div class=\"messlist\"><span class=\"z_bid\">招标</span> <label class=\"toptitle\"><a href=\"Movingcontent.html\" target=\"_blank\">太旧高速公路视频数字化改造设备采购安装招标公告</a></label><label class=\"toptitiledate\" style=\"float: right\">2015-01-30</label></div><table class=\"detailmess\"><tr><td>招标地区：山东/烟台市</td><td>项目甲方：烟台市教学仪器</td><td>代理机构：山东招标股份有限公司</td> </tr><tr><td>招标编号：122113</td><td>羡慕预算：未公开</td><td>投标截止时间：2015-6-6</td></tr><tr><td colspan =\"3\">烟台市X区教学仪器站 云计算中心设备升级采购招标公告 一、采购人名称：XX教学仪器站 地址：烟台市 环山路125号 联系电话：0535-4353534 二、采购代理机构名称：山东招标股</td> </tr></table></div>";
        					}else if(item.bidType == 1){
	        					$html += "<div class=\"Trademoving\"><div class=\"messlist\"><span class=\"z_bid\">招标</span> <label class=\"toptitle\"><a href=\"Movingcontent.html\" target=\"_blank\">太旧高速公路视频数字化改造设备采购安装招标公告</a></label><label class=\"toptitiledate\" style=\"float: right\">2015-01-30</label></div><table class=\"detailmess\"><tr><td>招标地区：山东/烟台市</td><td>项目甲方：烟台市教学仪器</td><td>代理机构：山东招标股份有限公司</td> </tr><tr><td>招标编号：122113</td><td>羡慕预算：未公开</td><td>投标截止时间：2015-6-6</td></tr><tr><td colspan =\"3\">烟台市X区教学仪器站 云计算中心设备升级采购招标公告 一、采购人名称：XX教学仪器站 地址：烟台市 环山路125号 联系电话：0535-4353534 二、采购代理机构名称：山东招标股</td> </tr></table></div>";
        					}else{
	        					$html += "<div class=\"Trademoving\"><div class=\"messlist\"><span class=\"z_bid\">招标</span> <label class=\"toptitle\"><a href=\"Movingcontent.html\" target=\"_blank\">太旧高速公路视频数字化改造设备采购安装招标公告</a></label><label class=\"toptitiledate\" style=\"float: right\">2015-01-30</label></div><table class=\"detailmess\"><tr><td>招标地区：山东/烟台市</td><td>项目甲方：烟台市教学仪器</td><td>代理机构：山东招标股份有限公司</td> </tr><tr><td>招标编号：122113</td><td>羡慕预算：未公开</td><td>投标截止时间：2015-6-6</td></tr><tr><td colspan =\"3\">烟台市X区教学仪器站 云计算中心设备升级采购招标公告 一、采购人名称：XX教学仪器站 地址：烟台市 环山路125号 联系电话：0535-4353534 二、采购代理机构名称：山东招标股</td> </tr></table></div>";
        					}
        				}
        				$(".part_left").append($html);
        				this.list.length = 0;
        				this.currentPage = this.currentPage +1;
        			},
        			click:function(){
			        	$.get('${contextPath}/project/loadajax.htm',{currentPage:bidInfo.currentPage},function(data){
			        		var pager = data.pager;
			        		for(var item in pager.data){
			        			bidInfo.appendone(item);
			        		}
			        		bidInfo.render();
			        	});
        			}
        	};
	     
        </script>
</body>
</html>
